package com.yw.columnInfo.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@TableName(value = "columns")
public class Column {
    @Id
    @Schema(description = "内码",name = "id")
    private Integer id; // 内码

    @Schema(description = "栏目名",name = "columnName")
    private String columnName; // 栏目名

    @Schema(description = "目录id",name = "目录id")
    private Integer contentsId;

    @Schema(description = "创建时间",name = "createTime")
    private LocalDateTime createTime; // 创建时间

    @Schema(description = "更新时间",name = "updateTime")
    private LocalDateTime updateTime; // 更新时间
}
